package com.iflysse.services;

import com.iflysse.pojo.bo.CommonBoResp;
import com.iflysse.pojo.bo.common.PageBeanBoResp;
import com.iflysse.pojo.bo.req.DealResourceFeedbackBoReq;
import com.iflysse.pojo.bo.req.ResourceFeedbackBoReq;
import com.iflysse.pojo.bo.resp.ResourceFeedbackBoResp;

import java.sql.SQLException;

/**
 * 反馈业务
 */
public interface ResourceFeedbackService {
    /**
     * 根据课程编号,反馈类型,处理状态获取资源反馈
     * @param resourceFeedbackBoReq
     * @return
     */
    PageBeanBoResp<ResourceFeedbackBoResp> getResourceFeedbackByCondition(ResourceFeedbackBoReq resourceFeedbackBoReq) throws SQLException;

    /**
     * 处理资源反馈(1已处理,0未处理)
     * @param dealResourceFeedbackBoReq
     * @return
     */
    CommonBoResp dealResourceFeedback(DealResourceFeedbackBoReq dealResourceFeedbackBoReq) throws SQLException;



}
